﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PHANLOPHOCSINH
{
    public partial class frnMain : Form
    {
        public frnMain()
        {
            InitializeComponent();
        }

        private void btnThoat_Click(object sender, EventArgs e)
        {
            DialogResult ok;
            ok = MessageBox.Show("Bạn có muốn thoát khỏi ứng dụng không ?", "Thông Báo", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
            if (ok == DialogResult.OK)
                Application.Exit();
        }
    }
}
